<template>
	<view class="container">
		<view class="success">支付成功！</view>
		<view>
			<button type="primary" class="button" @click="unLoad">点此返回我的</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		onUnload() {
			uni.removeStorageSync("orderMsg")
			uni.removeStorageSync("orderId")
			// uni.setStorageSync("orderMsg","")
		},
		methods: {
			unLoad() {
				uni.switchTab({
					url: '/pages/my/my'
				})
			}
		}
	}
</script>

<style lang="scss">
	.container {
		display: flex;
		flex-direction: column;
		align-items: center;

		.success {
			margin-top: 100rpx;
			font-size: 60rpx;
			color: red;
		}

		.button {
			margin-top: 100rpx;
			border: 5rpx solid red;
			box-shadow: 10rpx 10rpx #888888;
			// border-radius: 40rpx;
		}
	}
</style>